package com.example.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * @author fangzhuangzhan
 * @date 2021/09/05 09:29
 */
@Component
@ConfigurationProperties(prefix = "customer")
@Data
public class CustomerProperties {

    private String studentName = "fzz";
    private String klassName = "三年级二班";
    private String schoolName = "衡水中学";

}
